package user_middleware

import (
	"fmt"

	"github.com/gin-gonic/gin"
)

type UserMiddleware struct{}

func (con UserMiddleware) UserMidd1(c *gin.Context) {
	fmt.Println("user midd 1, start")
	c.Next()
	fmt.Println("user midd 1, end")
}

func UserMidd2(c *gin.Context) {
	fmt.Println("user midd 2, start")
	c.Next()
	fmt.Println("user midd 2, end")
}
